home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / sc_22.zip / C.TXT < prev    next >
Text File  |  1988-01-21  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.                            Small C Compiler Version 2.2
  5.                                          
  6.          The  Small C compiler translates a subset of the C language into
  7.          assembly language. It runs under PC/MS-DOS 2.1 and later.  Small
  8.          C  is  compatible  with  the Microsoft and Small Mac assemblers.
  9.          Small C takes full advantage of the ability of these  assemblers
  10.          to  generate  relocatable  object code, to maintain libraries of
  11.          relocatable modules, and to  link  separately  compiled  program
  12.          modules.  It supports a small memory model with one code and one
  13.          data/stack segment.
  14.          
  15.          Small C supports  arrays  of  one  dimension.  Functions  always
  16.          return  integer  values.  External  functions  are automatically
  17.          declared. Initialization of global variables is  supported.  The
  18.          preprocessor supports #include, #define, #ifdef, #ifndef, #else,
  19.          #endif,   #asm,   #endasm   commands  .  The  following  control
  20.          statements are supported:  if,  switch,  case,  default,  break,
  21.          continue, while, for, and do/while. All expression operators are
  22.          supported.  Only  signed and unsigned integer and character data
  23.          types are supported. The following standard C features  are  not
  24.          supported:  structures,  fields, unions, arrays of pointers, and
  25.          casts.
  26.          
  27.          Small C supports  UNIX-like  I/O  redirection  and  command-line
  28.          argument passing. The Small C library includes over 80 functions
  29.          --  a  nearly  complete  set  of the standard UNIX/C repertoire.
  30.          Binary as  well  as  character  stream  I/O  is  supported.  The
  31.          formatted  I/O  functions  printf()  and  scanf()  are included.
  32.          Random  access  to  files  is  provided.  Programs  can  request
  33.          additional file buffering.
  34.          
  35.          The  compiler  itself  is  written in Small C and is distributed
  36.          with both object and source code. As a self  compiler,  Small  C
  37.          can  be  modified  to  work  in  other  environments and to meet
  38.          special  needs.  Since  everything   is   revealed   and   fully
  39.          documented,  Small  C  has  tremendous  value  as an educational
  40.          device. Small C uses a single pass,  recursive  descent  parsing
  41.          algorithm.  It generates p-codes for internal use, and optimizes
  42.          its output.
  43.          
  44.          The Small C language and compiler  are  fully  described  in  "A
  45.          Small  C Compiler: Language, Usage, Theory, and Design" by James
  46.          E. Hendrix. Copies are available from:
  47.          
  48.                               M&T Publishing, Inc.
  49.                               501 Galveston Dr.
  50.                               Redwood City, CA 94063
  51.                               Phone: 1 (800) 533-4372
  52.          
  53.          An older CP/M version of the compiler is  also  available.  That
  54.          version  is  documented in "The Small-C Handbook" which does not
  55.          cover the theory of operation. The Handbook  is  also  available
  56.          from M&T Publishing, as long as supplies last.
  57.          
  58.                                   J. E. Hendrix
  59.                                   P.O. Box 1435
  60.                                 Oxford, MS  38655
  61.          
  62.  
  63.  
  64.  
  65.  
  66.  
  67.